(undo-more): When undo information for the region is exhausted, say
authorEli Zaretskii <eliz@gnu.org>
Sat, 30 Sep 2006 09:49:26 +0000 (09:49 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 Sep 2006 09:49:26 +0000 (09:49 +0000)
"No further undo information FOR REGION".

lisp/simple.el

index 53c9c680cc979fae4b34baf925223685c2602a83..105c5a9afcef41c00a100ce72808105bd572a0be 100644 (file)
@@ -1501,8 +1501,7 @@ Call `undo-start' to get ready to undo recent changes,
 then call `undo-more' one or more times to undo them."
   (or (listp pending-undo-list)
       (error (concat "No further undo information"
-                     (and transient-mark-mode mark-active
-                          " for region"))))
+                    (and undo-in-region " for region"))))
   (let ((undo-in-progress t))
     (setq pending-undo-list (primitive-undo n pending-undo-list))
     (if (null pending-undo-list)